package com.ruoyi.school.service;

import com.ruoyi.school.domain.PacActualOutputParticipation;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.school.domain.vo.ActualOutputParticipationListVo;

import java.util.List;

/**
* @author jeremylin
* @description 针对表【pac_actual_output_participation(学术成果参与表)】的数据库操作Service
* @createDate 2025-07-10 03:15:20
*/
public interface PacActualOutputParticipationService extends IService<PacActualOutputParticipation> {

    /**
     * 参与学术成果
     * @param pacAcademicOutput
     * @return
     */
    boolean join(PacActualOutputParticipation pacAcademicOutput);

    /**
     * 参与人员列表
     *
     * @param pacActualOutputId
     * @return
     */
    List<ActualOutputParticipationListVo> getParticipants(Long pacActualOutputId);

    void delete(Long id);

    /**
     * 获取详情
     * @param id
     * @return
     */
    PacActualOutputParticipation details(Long id);

    /**
     * 已加入的成员
     * @return
     */
    long countByAudit();

    /**
     * 删除
     * @param id
     */
    void deleteByOutPutId(Long id);

    List<Long> selectMemberIds(Long id);
}
